.swagger-visualizer {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.swagger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.controls {
  display: flex;
  gap: 10px;
}

.url-selector {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.refresh-button {
  padding: 8px 16px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.refresh-button:disabled {
  background-color: #ccc;
}

.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.method-filter {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.endpoint {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

.endpoint-path {
  padding: 10px;
  background-color: #f5f5f5;
  font-family: monospace;
  font-weight: bold;
}

.endpoint-method {
  display: flex;
  padding: 15px;
  border-top: 1px solid #eee;
}

.method-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  min-width: 60px;
  text-align: center;
  margin-right: 15px;
}

.method-badge.get { background-color: #e3f2fd; color: #1565c0; }
.method-badge.post { background-color: #e8f5e9; color: #2e7d32; }
.method-badge.put { background-color: #fff3e0; color: #ef6c00; }
.method-badge.delete { background-color: #ffebee; color: #c62828; }

.endpoint-details {
  flex: 1;
}

.parameters table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.parameters th,
.parameters td {
  padding: 8px;
  text-align: left;
  border: 1px solid #eee;
}

.parameters th {
  background-color: #f5f5f5;
}

.responses {
  margin-top: 15px;
}

.response-code {
  display: flex;
  align-items: center;
  margin: 5px 0;
  padding: 5px;
  border-radius: 4px;
}

.status-code {
  font-weight: bold;
  margin-right: 10px;
}

.code-2xx { background-color: #e8f5e9; }
.code-3xx { background-color: #fff3e0; }
.code-4xx { background-color: #ffebee; }
.code-5xx { background-color: #fce4ec; }

.error-message {
  padding: 10px;
  background-color: #ffebee;
  color: #c62828;
  border-radius: 4px;
  margin-bottom: 20px;
}

.description {
  color: #666;
  margin: 5px 0;
}

.swagger-drawer .drawer-content {
  padding: 16px;
}

.drawer-header {
  padding: 16px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.method-item {
  border-bottom: 1px solid #eee;
}

.method-chip {
  margin-right: 12px;
  min-width: 60px;
}

.method-chip.get { background-color: #e3f2fd; color: #1565c0; }
.method-chip.post { background-color: #e8f5e9; color: #2e7d32; }
.method-chip.put { background-color: #fff3e0; color: #ef6c00; }
.method-chip.delete { background-color: #ffebee; color: #c62828; }

.method-text {
  margin-left: 8px;
}

.method-details {
  padding: 16px;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schema-button {
  justify-content: flex-start;
  text-transform: none;
  background-color: white;
}

.schema-button:hover {
  background-color: #eee;
}

.drawer-toggle {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.drawer-toggle:hover {
  background-color: #f5f5f5;
}

.schema-button-group {
  margin: 8px 0;
  width: 100%;
}

.schema-button-group .schema-button {
  flex: 1;
  text-transform: none;
  background-color: white;
  color: rgba(0, 0, 0, 0.87);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 6px 12px;
}

.schema-button-group .schema-button:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.schema-button-group .schema-button:first-of-type {
  border-right: none;
}

.search-bar {
  padding: 16px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.search-bar .MuiTextField-root {
  background-color: #f5f5f5;
}

.search-bar .MuiInputBase-root {
  border-radius: 8px;
}

.search-bar .MuiInputBase-input {
  padding: 8px 12px;
}

.no-results {
  padding: 16px;
  text-align: center;
  color: #666;
} 